package com.rc.saas.mini.common.sms;

public class SmsResult {
    private String content;

    public SmsResult(String code) {
        switch (code) {
            case "0":
                content = "操作成功";
                break;
            case "-2":
                content = "未检索到被叫号码";
                break;
            case "-3":
                content = "被叫号码过多";
                break;
            case "-5":
                content = "内容过长";
                break;
            case "-7":
                content = "暂停发送";
                break;
            case "-10":
                content = "下发内容为空";
                break;
            case "-13":
                content = "操作频率快";
                break;
            case "-21":
                content = "包含屏蔽词";
                break;
            default:
                content = "短信系统异常";
        }
    }

    public String getContent() {
        return content;
    }
}
